package liuyang.bigeventserver.modules.security.jwt;

import jakarta.servlet.http.HttpServletRequest;

/**
 * 从Request中抽取jwt token
 * 因为这个策略有可能会变动，所以就用这个类来解耦
 *
 * @author xconf
 * @since 2024/2/28
 */
public class JwtTokenExtractor {
    public static String extract(HttpServletRequest request) {
        return request.getHeader("token");
    }
}
